import com.bird { Runtime }
import com.bird.service { Service }
import com.bird.bundle { Bundle }

import org.gnome.gtk { Gtk {init, main} }
import org.gnome.gdk { ... }
import org.gnome.glib { ... }
import org.gnome.gtk { ... }
import com.bird.os.service.ui.gtk { UiButton =  Button}

shared class UiService(Runtime runtime) extends Service(runtime) {

	
	shared actual void onCreate(Bundle savedInstanceState) {
	
		print("UIService: onCreate");
	
		value ui = UiServiceInterface();
	
	
    	init(null);
    	Window window = Window();
    	window.setDecorated(false);
    	window.setFullscreen(true);
    	window.add(ui.newLabel("Hello from Bird!!!").widget);           
    	window.showAll();
    	main();
	}
		
}